.App {
  text-align: center;
  padding: 20px;
  font-family: sans-serif;
}
/* In App.css */

.App nav ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
  text-align: center; /* Center the links */
}

.App nav li {
  display: inline-block; /* Arrange links horizontally */
  margin: 0 10px; /* Add spacing between links */
  color: #999;
  padding-bottom: 10px;
}

.App nav li.active {
  color: #000;
  font-weight: bold;
  border-bottom: 2px solid #000;
}

.App nav a {
  text-decoration: none; /* Remove underlines */
  color: #333; /* Dark gray color */
  font-weight: bold;
  padding: 10px 15px; /* Add padding around the text */
  border-radius: 5px; /* Slightly rounded corners */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.App nav a:hover {
  background-color: #f2f2f2; /* Light gray background on hover */
}

h1 {
  color: #28a745; /* Green color for the title */
  margin-bottom: 20px;
}

table {
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

input[type="text"] {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 300px;
}

.leaflet-container {
  width: 100%;
  height: 30vh;
  background-image: none !important; /* Remove the default background image */
}

.company-list {
  z-index: 1000000000;
  border: 1px solid #ccc;
  background-color: white; /* Add a background color */
  padding: 10px; /* Add some padding */
  border-radius: 5px; /* Add rounded corners */
}

.company-list ul {
  list-style: none; /* Remove bullet points */
  padding: 0;
  text-align: left; /* Align text to the left */
}

/* ========button=========== */

.btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-family: "Arial", sans-serif;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
  background-color: #fff;
  color: #333;
  border: 1px solid #dcdfe6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #28a745;
  color: white;
  border-color: #28a745;
}

/* ========input=========== */
/* 通用初始化样式 */
input {
  box-sizing: border-box;
}

/* 基础样式 */
.input {
  display: inline-block;
  width: 300px;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background-color: #fff;
  color: #606266;
  outline: none;
  transition: all 0.3s ease;
  line-height: 1.5;
}

.input::placeholder {
  color: #c0c4cc;
}

/* ========select=========== */
/* 初始化样式 */

/* 基础样式 */
.select {
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background-color: #fff;
  color: #606266;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 聚焦样式 */
.select:focus {
  border-color: #409eff;
  box-shadow: 0 0 5px rgba(64, 158, 255, 0.4);
}
